package com.ygq.train.batch.job;
//
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
////使用springboot自带的定时调度
///*
//此调度：  只适合单体应用，不适合集群
//        没办法实时更改调度信息
//        适合小型单体任务，
// */
//@Component
//@EnableScheduling
//public class SpringBootTestJob {
//
//    int count=0;
//    @Scheduled(cron = "0/5 * * * * ?")
//    public void Test(){
//        count+=5;
//        System.out.println("count= "+count+" SpringBootTestJob is testing....");
//    }
//}
